Skip to main content

resume

Type

message

Summary

Sent to the current card when the application is brought to the foreground.

Syntax

resume

Description

Handle the resume message if you want to perform some action when the application is made active.

The resume message is sent whenever the user switches back to the application from another program.

The actual switch is not triggered by the resume message, so trapping the message and not allowing it to pass does not prevent the user from switching into the application.

Examples

on resume
show stack "Toolbar"
end resume

control structure: pass

glossary: application, current card, message, trap

message: focusIn, suspend, startup, openStack, resumeStack

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?